package com.gxa.entity.investment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 风险跟踪单
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 03:04:36
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_risk_trace")
@ApiModel(value = "RiskTrace对象", description = "风险跟踪单")
public class RiskTrace implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "风险跟踪单主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "信息来源")
    @TableField("source")
    private String source;

    @ApiModelProperty(value = "风险等级")
    @TableField("grade")
    private String grade;

    @ApiModelProperty(value = "风险描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "影响内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "应急措施")
    @TableField("measure")
    private String measure;

    @ApiModelProperty(value = "图片")
    @TableField("picture")
    private String picture;

    @ApiModelProperty(value = "项目外键")
    @TableField("project_id")
    private Integer projectId;


}
